package com.gzx.risk.core.apis.result.yuyao;

import java.util.Map;

import com.gzx.risk.core.apis.result.RiskResult;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * {"code":0,"msg":"操作成功","data":{"flag_specialList_c":1}}
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class YuyaoGatewayC108143 extends RiskResult {
	private int code;
	private String msg;
	private Map<String, Object> data;

	public String getValue(String key) {
		if (data != null && data.containsKey(key)) {
			return data.get(key).toString();
		} else {
			return "";
		}
	}
}
